﻿namespace EditorialProyectos.DataAccess.Core
{
    public class ApplicationContext
    {
        private static DataContext _dataContext;

        public static DataContext DataContext { get { return _dataContext ?? (_dataContext = new DataContext()); } }

        public static DataContext Create()
        {
            return DataContext;
        }
    }
}
